package com.nlelpct.manage.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 岗位信息表
 * </p>
 *
 * @author 小马
 * @since 2023-07-12
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("sys_post")
public class SysPost extends Model<SysPost> {

    private static final long serialVersionUID = 1L;

    /**
     * 岗位ID
     */
    @TableId(value = "post_id", type = IdType.ASSIGN_UUID)
    private String postId;

    /**
     * 所属企业
     */
    private String companyId;

    /**
     * 岗位编码
     */
    private String postCode;

    /**
     * 岗位缩写名称
     */
    private String postEsName;

    /**
     * 岗位中文名称
     */
    private String postZhName;

    /**
     * 显示顺序
     */
    private Integer postSort;

    /**
     * 0.禁用  1.正常
     */
    private Integer postStatus;

    /**
     * 删除标志（0代表删除 1代表存在）
     */
    private Integer delFlag;

    /**
     * 创建者
     */
    private String createBy;

    /**
     * 更新者
     */
    private String updateBy;

    /**
     * 岗位描述
     */
    private String postDesc;

    /**
     * 创建时间
     */
    private Long createTime;

    /**
     * 修改时间
     */
    private Long updateTime;


    public static final String POST_ID = "post_id";

    public static final String COMPANY_ID = "company_id";

    public static final String POST_CODE = "post_code";

    public static final String POST_ES_NAME = "post_es_name";

    public static final String POST_ZH_NAME = "post_zh_name";

    public static final String POST_SORT = "post_sort";

    public static final String POST_STATUS = "post_status";

    public static final String DEL_FLAG = "del_flag";

    public static final String CREATE_BY = "create_by";

    public static final String UPDATE_BY = "update_by";

    public static final String POST_DESC = "post_desc";

    public static final String CREATE_TIME = "create_time";

    public static final String UPDATE_TIME = "update_time";



}
